﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microformats.Controls;
using System.Web.UI;

namespace Microformats.Controls
{
    public abstract class Date : Entity
    {
        public Date()
        {
            HtmlTag = HtmlTextWriterTag.Unknown;
        }

        public DateTime DateTime { get; set; }
        public string Format { get; set; }
        public string FormattedDateTime { get { return this.DateTime.ToString("yyyy-MM-ddTHH:mm:ssZ"); } }
    }
}
